package com.wumeng.interview.helper;

import android.app.Activity;
import android.content.Intent;

/**
  * @Time : 2021/8/2
  * @Author : Wu-Meng
  * @Description :
 */
public class IntentHelper {

    /**
     * 跳转页面
     * @param activity
     * @param cls
     */
    public static void startActivity(Activity activity,Class<?> cls) {
        Intent intent = new Intent(activity,cls);
        activity.startActivity(intent);
    }

}
